import axios from 'axios'
axios.defaults.baseURL = 'http://localhost:8888/api/private/v1/'

//实现用户登录
export const login = (data) => {
    return axios({
        method: 'post',
        url: 'login',
        data
    })
}